package org.example.studentsystem_back.vo.dormMangeVo;

import lombok.Data;
import org.example.studentsystem_back.domain.Dorm;

@Data
public class DormIdVo extends Dorm {
    private int suiId;
    public void setDormIdVo(Dorm dorm){
        this.setDormId(dorm.getDormId());
        this.setDormNum(dorm.getDormNum());
        this.setEnNum(dorm.getEnNum());
        this.setEmptyNum(dorm.getEmptyNum());
        this.setArea(dorm.getArea());
        this.setPhone(dorm.getPhone());
        this.setLeader(dorm.getLeader());
    }
}
